home *** CD-ROM | disk | FTP | other *** search
- #VRML V2.0 utf8
-
- # This group uses regular appearance nodes
- Transform {
- translation -4 0 0
- children [
- Shape {
- appearance Appearance {
- material Material {
- emissiveColor 1 1 1
- }
- }
-
- geometry PointSet {
- pointSize 4
- coord Coordinate {
- point [ -1 -1 0, 1 -1 0, 1 1 0, -1 1 0 ]
- }
- color Color {
- color [ 1 1 0, 1 0 1, 0 1 1, 1 0 0 ]
- }
- }
- }
- Shape {
- appearance Appearance {
- material Material {
- emissiveColor 1 1 1
- }
- }
-
- geometry IndexedLineSet {
- pointSize 4
- coord Coordinate {
- point [ -1 -1 0, 1 -1 0, 1 1 0, -1 1 0 ]
- }
- coordIndex [ 0, 1, 2, 3, -2 ]
- color Color {
- color [ 1 1 0, 1 0 1, 0 1 1, 1 0 0 ]
- }
-
- }
- }
- ]
- }
-
- # This group uses MultiAppearance nodes with no maps
- Transform {
- translation 0 0 0
- children [
- Shape {
- appearance MultiAppearance {
- material Material {
- emissiveColor 1 1 1
- }
- }
-
- geometry PointSet {
- pointSize 4
- coord Coordinate {
- point [ -1 -1 0, 1 -1 0, 1 1 0, -1 1 0 ]
- }
- color Color {
- color [ 1 1 0, 1 0 1, 0 1 1, 1 0 0 ]
- }
- }
- }
- Shape {
- appearance MultiAppearance {
- material Material {
- emissiveColor 1 1 1
- }
- }
-
- geometry IndexedLineSet {
- pointSize 4
- coord Coordinate {
- point [ -1 -1 0, 1 -1 0, 1 1 0, -1 1 0 ]
- }
- coordIndex [ 0, 1, 2, 3, -2 ]
- color Color {
- color [ 1 1 0, 1 0 1, 0 1 1, 1 0 0 ]
- }
-
- }
- }
- ]
- }
-
- # This group uses MultiAppearance nodes with (extraneous) maps
- Transform {
- translation 4 0 0
- children [
- Shape {
- appearance MultiAppearance {
- material Material {
- emissiveColor 1 1 1
- }
- diffuseMap DiffuseMap { texture ImageTexture { url diffuse_s3d.jpg }}
- bumpLevelMap BumpLevelMap { texture ImageTexture { url bumpmap_s3d.jpg }}
- }
-
- geometry PointSet {
- pointSize 4
- coord Coordinate {
- point [ -1 -1 0, 1 -1 0, 1 1 0, -1 1 0 ]
- }
- color Color {
- color [ 1 1 0, 1 0 1, 0 1 1, 1 0 0 ]
- }
- }
- }
- Shape {
- appearance MultiAppearance {
- material Material {
- emissiveColor 1 1 1
- }
- diffuseMap DiffuseMap { texture ImageTexture { url diffuse_s3d.jpg }}
- bumpLevelMap BumpLevelMap { texture ImageTexture { url bumpmap_s3d.jpg }}
- }
-
- geometry IndexedLineSet {
- pointSize 4
- coord Coordinate {
- point [ -1 -1 0, 1 -1 0, 1 1 0, -1 1 0 ]
- }
- coordIndex [ 0, 1, 2, 3, -2 ]
- color Color {
- color [ 1 1 0, 1 0 1, 0 1 1, 1 0 0 ]
- }
-
- }
- }
- ]
- }
-
-